package me.zhengjie.modules.management.mapper;

import me.zhengjie.modules.management.domain.MrAttention;
import me.zhengjie.modules.management.domain.MrNotice;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @Author: chenxin.jiang
 * @Date: 2020/12/15
 * @Description:
 */
@Mapper
public interface MrAttentionMapper {
    /**
     * 新增注意事项
     * @param mrAttention
     */
    void addAttention(MrAttention mrAttention);

    /**
     * 删除注意事项
     * @param id
     */
    void deleteAttention(Integer id);

    /**
     * 修改注意事项
     * @param mrAttention
     */
    void updateAttention(MrAttention mrAttention);

    /**
     * 查询注意事项
     * @return
     */
    List<MrAttention> queryAttention();
}
